Mobile terminal and event processing method

ABSTRACT

Provided is a mobile terminal having a sensor detecting movement thereof and an event processing method. The mobile terminal includes: an orientation detector for monitoring, in response to detection of an event, movement of the mobile terminal for a preset time duration to identify an orientation of the mobile terminal; and a controller for processing the event in an operating mode corresponding to the identified orientation. As a result, the user can readily switch operating modes of the mobile terminal by changing orientations thereof.

PRIORITY

This application claims priority under 35 USC§119 to an application entitled “Mobile Terminal And Event Processing Method” filed in the Korean Intellectual Property Office on Aug. 2, 2006 and assigned Serial No. 2006-0073024, the contents of which are incorporated herein by reference.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates generally to a mobile terminal and, in particular, to a mobile terminal and an event processing method for the mobile terminal, wherein operating modes of the mobile terminal are switched according to identified orientations of the mobile terminal.

2. Description of the Related Art

Mobile terminals such as cellular phones and Personal Digital Assistants (PDA) provide various functions that can be set by users and selected for execution. Manufacturers of mobile terminals and mobile service providers continuously develop and provide functions and services related to, for example, a camera, a Bluetooth® device, a wireless local area network, radio, games, calculator, calendar, clock, ring tone, text messages, image messages, on-line games, wireless Internet access, and caller identification.

A user is generally advised to avoid making noise caused by the use of a mobile terminal having such various functions in public places or some situations (e.g., meeting room, school class, museum, library, cinema, and gathering).

Thereto, the user may set a ‘vibrate’ mode by pressing a particular key assigned as a shortcut key for a ‘manner’ mode as illustrated in FIG. 1. If the vibrate mode is insufficiently quiet or inappropriate for use, the user may have to turn off the mobile terminal or set a ‘silent’ mode through a series of steps. When the user has little time available, it is easier for the user to turn off the mobile terminal rather than to set the silent mode. However, if the user turns off the mobile terminal, the user may fail to recognize events such as incoming calls or messages occurring after turning off the mobile terminal.

SUMMARY OF THE INVENTION

The present invention has been made in view of the above problems, and an object of the present invention is to provide a mobile terminal and an event processing method for the same wherein events are processed according to orientations of the mobile terminal.

In accordance with the present invention, there is provided a mobile terminal including an orientation detector for monitoring, in response to detection of an event, movement of the mobile terminal for a preset time duration to identify an orientation of the mobile terminal; and a controller for processing the event in an operating mode corresponding to the identified orientation.

In accordance with the present invention, there is provided an event processing method for a mobile terminal having a sensor for measuring acceleration, including identifying, in response to detection of an event, an orientation of the mobile terminal; and processing the event in an operating mode corresponding to the identified orientation.

BRIEF DESCRIPTION OF THE DRAWINGS

The above and other objects, features and advantages of the present invention will be more apparent from the following detailed description in conjunction with the accompanying drawings, in which:

FIG. 1 illustrates a key of a keypad for setting a ‘vibrate’ mode in a conventional mobile terminal;

FIG. 2 illustrates a configuration of a mobile terminal according to the present invention;

FIG. 3 illustrates a configuration of an orientation detector of the mobile terminal of FIG. 2;

FIG. 4 illustrates rotation angles for calculation of orientations of the mobile terminal of FIG. 2;

FIG. 5 is a flowchart illustrating an event processing method for the mobile terminal of FIG. 2 according to the present invention;

FIG. 6 is a flow chart illustrating an automatic mode change setting step in the method of FIG. 5;

FIG. 7 is a flow chart illustrating an attitude setting step in the flow chart of FIG. 6;

FIGS. 8A and 8B illustrate an event processing step in a silent mode of the method in FIG. 5;

FIG. 9 is a diagram illustrating transitions between operating modes in the method of FIG. 5; and

FIGS. 10A and 10B illustrate orientations of the mobile terminal of FIG. 2.

DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS

Hereinafter, preferred embodiments of the present invention are described in detail with reference to the accompanying drawings. The same reference symbols identify one of the same and corresponding elements in the drawings. Some constructions or processes known in the art may be not described herein to avoid obscuring the invention in unnecessary detail.

In the present invention, the term ‘event’ denotes an event accompanied by an alert or sound, such as one of an incoming call, incoming message, wake up alarm, and schedule reminder alarm.

The term ‘silent mode’ denotes an operating mode in which events are notified using at least one of vibration and an alert lamp. In the description, the alert lamp is mainly utilized in the silent mode.

For event processing in the silent mode, the ‘first orientation’ of a mobile terminal denotes an orientation of the mobile terminal that remains constant for a preset time period during an initial setting operation.

FIG. 2 illustrates a configuration of a mobile terminal according to the present invention.

Referring to FIG. 2, the mobile terminal 100 includes a memory unit 110, a communication unit 120, an orientation detector 130, a controller 140, an alert lamp 150, and a display unit 160.

The memory unit 110 includes a program memory section for storing executable programs for operating the mobile terminal 100, and a data memory section for storing various data. The memory unit 110 can include a volatile memory device and a non-volatile memory device. In particular, the memory unit 110 stores the first orientation of the mobile terminal 100 for event processing in a silent mode according to user's selection. The first orientation can be pre-stored in the manufacturing process, and be changed by the user. Setting of the first orientation is described herein in relation to FIG. 6. As examples of orientations, the mobile terminal 100 may be placed in a state where the back of the mobile terminal 100 faces downwards, in a state where the front of the mobile terminal 100 faces downwards, or in a state where a side of the mobile terminal 100 faces downwards.

The communication unit 120 transmits and receives voice data and control data to and from a corresponding base station through wireless communication. The communication unit 120 receives an incoming call from a calling mobile terminal through an antenna and transmits the received call to the controller 140, and transmits user-edited data through the antenna to a called mobile terminal. Specifically, the communication unit 120 receives an incoming call event and incoming message event.

The orientation detector 130 identifies a current orientation of the mobile terminal 100 in response to detection of an event. As illustrated in FIG. 3, the orientation detector 130 includes a sensor 131 for measuring acceleration of the mobile terminal 100, and an attitude determiner 133 for determining the current orientation of the mobile terminal 100 using the measured acceleration. The orientation detector 130 is described hereinbelow.

The controller 140 controls overall operation and states of the mobile terminal 100, and can include, for example, a microprocessor and a Digital Signal Processor (DSP). In particular, the controller 140 performs event processing operations in a silent mode or in a mode set by the user, as illustrated in FIG. 9, which illustrates transitions between operating modes, according to an identified orientation and the first orientation.

If the orientation identified by the orientation detector 130 is equal to the first orientation and remains constant for a preset time duration (preferably, about 1 second), the controller 140 sets a silent mode and controls an event processing operation in the silent mode. For example, when an incoming message event or alarm event occurs, if the first orientation is an orientation allowing event display, the controller 140 preferably controls the display unit 160 for displaying corresponding contents as a pop-up window. If the first orientation is an orientation precluding event display, the controller 140 preferably shuts off the power to the display unit 160.

When an incoming call event occurs, the controller 140 processes the event in a no-answer state and controls the communication unit 120 to transmit an automatic response message to a calling mobile terminal.

During event processing, the controller 140 also controls the alert lamp 150 to output lamplight.

Alternatively, if the orientation identified by the orientation detector 130 is not equal to the first orientation or does not remain constant for the preset time duration, the controller 140 controls an event processing operation according to an operating mode set by the user. For example, after an occurrence of an event, if the identified orientation is not equal to the first orientation due to movement of the user, and if the user has set a ring mode, the controller 140 processes the event in the ring mode and controls output of an audio signal corresponding to the event. Preferably, the mobile terminal 100 preferably further includes an audio processor for audio signal processing.

Referring to operating mode transitions in FIG. 9, in response to occurrence of an event, the controller 140 identifies the orientation of the mobile terminal 100. If the mobile terminal 100 is identified to be in the first orientation, the controller 140 sets the silent mode and controls a corresponding event processing operation in the silent mode. During the silent mode, if the orientation of the mobile terminal 100 is changed by the user to another orientation, the controller 140 processes the event according to an operating mode preset by the user. For example, in response to a call event during the silent mode, if the user changes the orientation of the mobile terminal 100 to an orientation other than the first orientation, and if the user has set a ring mode, the controller 140 processes the call event in the ring mode. That is, the controller 140 controls output of an audio signal corresponding to the call event. This may apply to the case where the user moves and carries a bag in which the mobile terminal 100 is placed in the first orientation, because it is desirable not to change the operating mode of the mobile terminal 100 to the silent mode, but to maintain the operating mode set by the user.

For another example, during the mode set by the user, if no signal is input by the user to answer a received call event, the controller 140 enters the call event in a list of unanswered calls. If a message event is received, the controller 140 controls display of the contents of the message event.

Further, during the mode set by the user, if the orientation of the mobile terminal 100 is changed by the user to the first orientation, the controller 140 performs an event processing operation in the silent mode.

The alert lamp 150 outputs lamplight in response to an event occurrence under the control of the controller 140. For example, when an incoming message event is detected in the silent mode, the alert lamp 150 outputs lamplight under the control of the controller 140 to inform the user of the incoming message event.

The display unit 160 displays operation states of the mobile terminal 100. In particular, in response to input of an event, the display unit 160 displays corresponding contents of the event under the control of the controller 140. The display unit 160 also displays a message that requests the user to determine whether to end the silent mode, for example, in a pop-up window under the control of the controller 140. Preferably, if the first orientation is an attitude allowing event display (for example, a state in which the mobile terminal 100 is placed so that the back thereof faces downwards), the display unit 160 displays information on the event. Further, the controller 140 preferably shuts off the power to the display unit 160 during the silent mode for reduction of power consumption.

FIG. 3 illustrates a configuration of the orientation detector 130 of the mobile terminal 100.

Referring to FIGS. 2 and 3, the sensor 131 produces an electrical signal corresponding to movement of the mobile terminal 100. In particular, after an event is received by the communication unit 120, the controller 140 permits supply of power to the sensor 131 for detecting movement of the mobile terminal 100. Because continuous monitoring of movement of the mobile terminal 100 using the sensor 131 may consume too much power and interrupt other functions, operation of the sensor 131 is desirable only after collection of an event.

Preferably, the sensor 131 is an acceleration sensor that measures acceleration of the mobile terminal 100 and outputs an electrical signal corresponding to the measured acceleration to the attitude determiner 133. In the case where the sensor 131 is a three-axis acceleration sensor, the sensor 131 measures accelerations in X-, Y- and Z-axis directions, as shown in FIG. 4. The sensor 131 measures acceleration equal to the sum of acceleration due to movement of the mobile terminal 100 and acceleration due to gravity, and measures only the acceleration of gravity when the mobile terminal 100 is not in motion. Hereinafter, when associating a placement direction of the mobile terminal 100 with the direction of the gravitational acceleration, a positive value of the gravitational acceleration indicates that the mobile terminal 100 is placed so that the back thereof faces the earth, and a negative value indicates that the mobile terminal 100 is placed so that the front thereof faces the earth. For example, when the mobile terminal 100 is placed on a horizontal surface so that the back thereof faces the earth as shown in FIG. 10A, the sensor 131 would measure X- and Y-axis accelerations of 0 m/sec² and a Z-axis acceleration of 9.8 m/sec². When the mobile terminal 100 is placed on a horizontal surface so that the front thereof faces the earth as shown in FIG. 10B, the sensor 131 would measure X- and Y-axis accelerations of 0 m/sec² and a Z-axis acceleration of −9.8 m/sec².

When the mobile terminal 100 is placed in a position in which the front or back of the terminal is not parallel with the surface of the earth, at least one of the X-, Y- and Z-axis accelerations would be non-zero and the square root of the sum of squares of the X-, Y- and Z-axis accelerations (magnitude of the sum of component vectors) would be equal to 9.8 m/sec².

The sensor 131 measures the X-, Y- and Z-axis accelerations of the mobile terminal 100 in a fixed coordinate system. If an acceleration measured by the sensor 131 is denoted by a, a can be represented by Equation (1): a=[a _(x) a _(y) a _(z)]^(T), where a_(x), a_(y) and a_(z) are acceleration values along the X-, Y- and Z-axes, respectively, and T is the transpose of a matrix.

The X-, Y- and Z-axes and their corresponding accelerations may change according to a location of the mobile terminal 100 at which the sensor 131 is attached.

The attitude determiner 133 computes the current orientation of the mobile terminal 100 using acceleration values along the X-, Y- and Z-axes measured by the sensor 131. An orientation can be represented by a roll angle Φ, pitch angle Θ, and yaw angle Ψ, wherein, referring to FIG. 4, the roll, pitch and yaw angles are angles of rotation around the X-, Y- and Z-axes, respectively.

The attitude determiner 133 computes the current orientation of the mobile terminal 100 using the following Equation (2) and Equation (3) in terms of measured acceleration values.

Φ=atan 2(−a_(y), −a_(z)), where atan 2 (m, n) is a two parameter version of the arctangent of m/n. θ=atan 2(a _(x)·√{square root over (a _(y) ² +a _(z) ²)})

For example, referring to FIG. 4, if measured acceleration values along the X-, Y- and Z-axes are zero, zero and 9.8 m/sec², respectively, the attitude determiner 133 computes corresponding roll and pitch angles of zero using Expression 2 and Expression 3. Hence, the attitude determiner 133 can determine the orientation that the mobile terminal 100 is placed on a horizontal surface so that the back thereof faces the earth. The attitude determiner 133 can determine any orientation of the mobile terminal 100 using the above expressions.

FIG. 5 is a flow chart illustrating steps of an event processing method for the mobile terminal of FIG. 2 according to the present invention. Referring to FIGS. 2 and 5, the method is described as follows.

In step S200, the controller 140 attempts to set an automatic mode change feature for event processing in a silent mode. Step S200 does not have to be performed if the automatic mode change feature is preset by default, and is described later in relation to FIG. 6. In step S210, the controller 140 determines whether the automatic mode change feature is set successfully. If the automatic mode change feature is set, in step S220, the controller 140 determines whether an occurrence of an event is detected. If an occurrence of an event is detected, the controller 140 controls the orientation detector 130 to check the orientation of the mobile terminal 100 for a preset time duration of, preferably, about 1 second in step S230. Orientation determination has been described above in relation to the orientation detector 130 in FIG. 3.

Thereafter, in step S240, the controller 140 determines whether the checked orientation is equal to the first orientation and remains constant for the preset time duration. If the orientation remains constantly equal to the first orientation, the controller 140 processes the occurred event in the silent mode in step S250. Step S250 is described herein in relation to FIGS. 8A and 8B.

If the orientation does not remain constantly equal to the first orientation, the controller 140 processes the occurred event in a mode set by the user in step S260.

FIG. 6 is a flow chart illustrating the automatic mode change feature setting step S200 in the method of FIG. 5.

Referring to FIGS. 2 and 6, in step S201, the controller 140 sets the first orientation to the current orientation of the mobile terminal 100. Step 201 is described in relation to FIG. 7. The controller 140 sets an operating mode suitable for the first orientation, preferably the silent mode, according to user selection in step S205.

FIG. 7 is a flow chart illustrating the attitude setting step S201 in FIG. 6.

Referring to FIGS. 2 and 6, in step S202, the controller 140 operates the sensor 131 and determines whether the particular orientation of the mobile terminal 100 has remained constant for a preset time duration of, preferably, about 1 second in step S203. If the orientation has not remained constant for the preset time duration, step S203 is repeated for a preset time duration. If the orientation has remained constant for the preset time duration, the controller 140 sets the first orientation to the retained orientation and stores the retained orientation in the memory unit 110 in step S204.

FIGS. 8A and 8B illustrate the step of event processing in the silent mode of the method in FIG. 5. FIG. 8A is a flow chart illustrating processing an incoming call event in the silent mode; and FIG. 8B is a flow chart for processing one of an incoming message event and an alarm event in the silent mode.

Referring to FIGS. 2 and 8A, in response to a call event received through the communication unit 120, the controller 140 processes the call event in a no-answer state in step S251. If the first orientation allows event display, information regarding the received event is displayed on the display unit 160. Preferably, an orientation allowing event display refers to a state in which the mobile terminal 100 is placed so that the back thereof faces the earth. If the first orientation does not allow event display, the information on the received event is not displayed and the controller 140 preferably shuts off the power to the display unit 160 for reduction of power consumption.

The controller 140 analyzes the received event, transmits an automatic response message through the communication unit 120 to a calling mobile terminal, and stores the analysis result in the memory unit 110 in step S252.

Referring to FIGS. 2 and 8B, in step S253, in response to reception of a message event, the controller 140 determines whether the first orientation allows event display. In step S254 if the first orientation allows event display, the controller 140 controls the display unit 160 to display the message event on a pop-up window, and stores the message event in the memory unit 110. Preferably, an orientation allowing event display refers to a state in which the mobile terminal 100 is placed so that the back thereof faces the earth. If the first orientation does not allow event display, the received event is not displayed, and the controller 140 preferably shuts off the power to the display unit 160 for reduction of power consumption.

In the description, an acceleration sensor is used to identify the orientation of the mobile terminal 100. A sensor other than the acceleration sensor, such as an optical sensor that measures the intensity of light, can also be used to identify the orientation of the mobile terminal 100.

As apparent from the above description, the present invention provides a mobile terminal and event processing method for the same, wherein operating modes are switched according to identified orientations of the mobile terminal. In particular, events are processed according to the current orientation of the mobile terminal. For example, in public places where making a noise due to the use of a mobile terminal is discouraged, the user can switch the operating mode from a ring mode to a silent mode by simply changing the orientation of the mobile terminal. Hence, events such as an incoming call, incoming text message and alarm, can be processed without ringing.

While preferred embodiments of the present invention have been shown and described in this specification, it will be understood by those skilled in the art that various changes or modifications of the embodiments are possible without departing from the spirit and scope of the invention as defined by the appended claims. 

What is claimed is:
 1. A method for a mobile terminal, comprising: detecting an incoming call; activating an audible ringing signal associated with the incoming call; detecting whether an orientation of the mobile terminal, during the activation of the audible ringing signal, is changed to a predetermined orientation if an automatic change feature for silencing the audible ringing signal caused by the incoming call in the predetermined orientation is set; and silencing the audible ringing signal caused by the incoming call in response to the orientation of the mobile terminal being changed to the predetermined orientation.
 2. The method of claim 1, wherein the predetermined orientation comprises at least one of the front of the mobile terminal facing downward, the front of the mobile terminal facing upward, and a side of the mobile terminal facing downwards.
 3. The method of claim 1, wherein whether the orientation of the mobile terminal is changed to the predetermined orientation is determined using signals from at least one three-axis acceleration detector in the mobile terminal.
 4. The method of claim 1, wherein the predetermined orientation was set by a manufacturer of the mobile terminal.
 5. The method of claim 1, further comprising: determining whether an automatic change feature for silencing the audible ringing signal caused by the incoming call in the predetermined orientation is set, when the incoming call is detected.
 6. A method for a mobile terminal comprising: detecting an incoming call; activating an audible ringing signal associated with the incoming call; detecting whether an orientation of the mobile terminal, during the activation of the audible ringing signal, is changed to a predetermined orientation and, if it has changed to the predetermined orientation, detecting whether the mobile terminal is in the predetermined orientation for a predetermined period of time; and silencing the audible ringing signal caused by the incoming call if the mobile terminal is detected in the predetermined orientation for the predetermined period of time.
 7. The method of claim 6, further comprising: detecting whether there is a change in orientation of the mobile terminal from the predetermined orientation to another orientation; and reactivating the audible ringing signal caused by the incoming call when a change in orientation of the mobile terminal from the predetermined orientation to another orientation is detected.
 8. The method of claim 1, further comprising: indicating the incoming call by at least one of a lamp light and vibration of the mobile terminal when the audible ringing signal caused by the incoming call is silenced.
 9. The method of claim 1, further comprising: turning off a display of the mobile terminal when the mobile terminal is in the predetermined orientation.
 10. The method of claim 1, further comprising at least one of: displaying a pop-up message to indicate the incoming call to the user if the predetermined orientation is the front of the mobile terminal facing upward and the audible ringing signal caused by the incoming call is silenced.
 11. A mobile terminal, comprising: a communication unit; an orientation detector; and a controller which: activates an audible ringing signal associated with an incoming call in response to the incoming call being received; if an automatic change feature for silencing the audible ringing signal caused by the incoming call in a predetermined orientation is set, determines whether an orientation of the mobile terminal, during activation of the audible ringing signal, is changed to the predetermined orientation; and silences the audible ringing signal caused by the incoming call in response to the orientation of the mobile terminal being changed to the predetermined orientation.
 12. The mobile terminal of claim 11, wherein the predetermined orientation comprises at least one of a front of the mobile terminal facing downward, the front of the mobile terminal facing upward, and a side of the mobile terminal facing downward.
 13. The mobile terminal of claim 11, further comprising: at least one three-axis acceleration detector which is used to determine whether there is a change in orientation of the mobile terminal to the predetermined orientation.
 14. The mobile terminal of claim 11, wherein the predetermined orientation was set by a manufacturer of the mobile terminal.
 15. The mobile terminal of claim 11, wherein the controller determines whether an automatic change feature for silencing the audible ringing signal caused by the incoming call in the predetermined orientation is set, when the incoming call is detected.
 16. A mobile terminal, comprising: a communication unit; an orientation detector; and a controller which: activates an audible ringing signal associated with an incoming call in response to an incoming call being received; detecting whether an orientation of the mobile terminal, during the activation of the audible ringing signal, is changed to a predetermined orientation; if it has changed to the predetermined orientation, detecting whether the mobile terminal is in the predetermined orientation for a predetermined period of time; and silences the audible ringing signal caused by the incoming call if it is detected that the mobile terminal is in the predetermined orientation for the predetermined period of time.
 17. The mobile terminal of claim 16, wherein the controller detects whether there is a change in orientation of the mobile terminal from the predetermined orientation to another orientation, and does not silence the audible ringing signal caused by the incoming call when a change in orientation of the mobile terminal from the predetermined orientation to another orientation is detected.
 18. The mobile terminal of claim 11, wherein the controller indicates the incoming call by at least one of a lamp light and vibration of the mobile terminal when the audible ringing signal caused by the incoming call is silenced.
 19. The mobile terminal of claim 11, wherein the controller turns off a display of the mobile terminal when the mobile terminal is in the predetermined orientation.
 20. The mobile terminal of claim 11, wherein the controller controls a display unit to display a pop-up message to indicate the incoming call to the user if the predetermined orientation is the front of the mobile terminal facing upward and the audible ringing signal caused by the incoming call is silenced.
 21. A mobile terminal, comprising: a communication unit; an orientation detector; and a controller which: activates an audible ringing signal associated with an incoming call when the incoming call is detected; determines whether an automatic change feature for silencing the audible ringing signal caused by the incoming call when the mobile terminal is in a predetermined orientation is set; and if the automatic change feature for silencing the audible ringing signal caused by the incoming call when the mobile terminal is in the predetermined orientation is set: detects whether the mobile terminal is in the predetermined orientation during the incoming call; and silences the audible ringing signal caused by the incoming call when the mobile terminal is detected in the predetermined orientation.
 22. The mobile terminal of claim 21, wherein the controller detects whether the mobile terminal remains in the predetermined orientation during the event for a predetermined period of time.
 23. The mobile terminal of claim 21, wherein the controller silences the audible ringing signal when the mobile terminal remains in the predetermined orientation for the predetermined period of time.
 24. The method of claim 1, further comprising: switching between the silencing operation and the activating operation corresponding to the change in orientation of the mobile terminal.
 25. The method of claim 1, further comprising: turning off the display of the mobile terminal if the predetermined orientation is the front of the mobile terminal facing downward and the audible ringing signal caused by the incoming call is silenced.
 26. The mobile terminal of claim 11, wherein the controller transitions between the silence operation and the activates operation corresponding to the changing orientation of the mobile terminal.
 27. The mobile terminal of claim 21, wherein the controller turns off the display of the mobile terminal if the predetermined orientation is the front of the mobile terminal facing downward and the audible ringing signal caused by the incoming call is silenced. 